/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_Studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#pragma once

#include <UI/UI.h>
#include "框架/屏幕.h"
#include "../播放条.h"


class C_时间轴 : public C_Widget {

public:
	C_时间轴(S_UI创建环境& ctx);
	~C_时间轴();


	static std::set<C_时间轴*> g_当前时间轴页面;


	ui_绘制模板_刻度线	    m_DT刻度线;

	ui_绘制模板_画预设图形	m_时间线绘制;
	ui_绘制模板_画预设图形	m_背景绘制;
	ui_绘制模板_行文本绘制	m_标签绘制;
	
	//ivec2	m_帧区;
	float32 m_帧数字步进;
	float32 m_线数量;
	float32 m_帧步进宽度;
	void	f_刷新时间帧绘制();

};

 

C_Widget*	f_创建时间轴页面(S_UI创建环境& ctx);




E_事件是否传递 f_时间轴页面工作区_拖拽时间帧(C_Widget* self, uint8 状态);




